/*
 * Staff.cpp
 *
 *  Created on: Mar 6, 2014
 *  Author: NakanPhung
 */

#include "Staff.h"

Staff::Staff() :
		Person() {
	dept = "";
	position = "";
	salaryRate = 0;
}

Staff::Staff(int id, string name, string dob, string addr, string dept,
		string position, int salaryRate) :
		Person(id, name, dob, addr) {
	this->dept = dept;
	this->position = position;
	this->salaryRate = salaryRate;

}

void Staff::setDept(string dept) {
	this->dept = dept;

}

void Staff::setPosotion(string position) {
	this->position = position;

}

void Staff::setSalaryRate(int salaryRate) {
	this->salaryRate = salaryRate;
}

string Staff::getDep() {
	return dept;
}

string Staff::getPostion() {
	return position;
}

int Staff::getSarayRate() {
	return salaryRate;
}

void Staff::Print() {
	Person::Print();
	cout << "\nDept: " << getDep() << "\nPosition: " << getPostion().c_str()
			<< "\nSalarRate: " << getSarayRate() << endl;
}

Staff::~Staff() {
	// TODO Auto-generated destructor stub
}

